﻿$(function(){
    var oContainerDefinition={
        'model':{type:LabModel},
        'dao':{type:LabDAO,args:[{ref:'model'}]},
        'service':{type:LabService,props:[{name:'dao',ref:'dao'}]},
        'application':{type:LabApplication,props:[{name:'containerContext',ref:'containerContext'},{ref:'service'}]}
    };

    
    var _oContainer = new IContainer();
    _oContainer.load(oContainerDefinition);
});